Visibility Testing and Counting
نویسندگان
چکیده
For a set of n disjoint line segments S in R, the visibility testing problem (VTP) is to test whether the query point p sees a query segment s ∈ S. For this configuration, the visibility counting problem (VCP) is to preprocess S such that the number of visible segments in S from any query point p can be computed quickly. In this paper, we solve VTP in expected logarithmic query time using quadratic preprocessing time and space. Moreover, we propose a (1+δ)-approximation algorithm for VCP using at most quadratic preprocessing time and space. The query time of this method is O ( 1 δ2 √ n) where O (f(n)) = O(f(n)n ) and > 0 is an arbitrary constant number.
منابع مشابه
Approximation and randomized method for Visibility Counting Problem
For a set of n disjoint line segments S in R, the visibility counting problem (VCP) is to preprocess S such that the number of visible segments in S from a query point p can be computed quickly. This problem can be solved in logarithmic query time using O(n) preprocessing time and space. In this paper, we propose a randomized approximation algorithm for this problem. The space of our algorithm ...
متن کاملتأثیر گرمای موضعی بر میزان موفقیت در رگگیری بیماران دارای اضافه وزن: یک کارآزمایی بالینی تصادفی
Background & Aim: Access to peripheral veins in more than 80% of hospitalized patients is necessary. This skill is more difficult in the patients with overweight. The study was conducted to determine the effect of local heating on the success rate of venipuncture in the patients with overweight. Methods & Materials: An unblinded, randomized clinical trial (IRCT2017020832133N1) was done on 70 p...
متن کاملPhase preparation by atom counting of Bose-Einstein condensates in mixed states
We study the build up of quantum coherence between two Bose-Einstein condensates which are initially in mixed states. We consider in detail the two cases where each condensate is initially in a thermal or a Poisson distribution of atom number. Although initially there is no relative phase between the condensates, a sequence of spatial atom detections produces an interference pattern with arbitr...
متن کاملWeak visibility counting in simple polygons
For a simple polygon P of size n, we define weak visibility counting problem (WVCP) as finding the number of visible segments of P from a query line segment pq. We present different algorithms to compute WVCP in sub-linear time. In our first algorithm, we spend O(n) time to preprocess the polygon and build a data structure of size O(n), so that we can optimally answer WVCP in O(log n) time. The...
متن کاملExperimental Verification of a Realistic Input Model for Polyhedral Terrains
A realistic input model for polyhedral terrains was introduced in [16]. With this model, improved upper and lower bounds on the combinatorial complexity of visibility and distance structures on these terrains were obtained. In this paper, we perform experiments with realworld data to determine how realistic the assumptions of that input model are, by examining what the values of the model param...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011